@import (less) "../../common/css/container.less";
@tabsHeight: 54px;
.tabsModule {
    width: 100%;
    .tabs {
        height: @tabsHeight;
        line-height: @tabsHeight;
        font-size: 14px;
        box-sizing: border-box;
        border-bottom: 1px solid #eaeaea;
        box-shadow: 0 2px 4px rgba(0,0,0,.1);
        &.fixed {
            width: 100%;
            position: fixed;
            top: 0;
            left: 0;
            background-color: #fff;
        }
        .container {
            margin: 0 auto;
            width: 1140px;
            height: 100%;
            .tab {
                display: inline-block;
                height: 100%;
                margin-right: 36px;
                &.active {
                    span {
                        border-bottom: 3px solid #0fc18a; 
                    }
                }
                span {
                    box-sizing: border-box;
                    margin: 0 8px;
                    height: 100%;
                    display: inline-block;
                    color: rgba(0,0,0,.75);
                    cursor: pointer;
                    &:hover {
                        color: #0fc18a;
                    }
                }
            }
        }
    }
    .tabsContent {
        &.fixed .tabContent:nth-child(1) {
            padding-top: 114px;
        }
        .tabContent {
            padding: 60px 0;
            &:nth-child(even) {
                background-color: #f5f6f7;
            }
        }
    }
}